const path = require("path")
const fs = require("fs")
const recommendListPath = path.resolve(__dirname, "../../cache/recommendList.json")

module.exports = async ({ recommendList = "" }) => {
    if (!recommendList) return false
    fs.writeFileSync(recommendListPath, recommendList)
}